package com.tuo51.liveroom.domains;

import com.tuo51.foudation.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "l_teaching_area")
@Data
@EqualsAndHashCode(callSuper = true)
public class TeachingArea extends Domain {

    @Column(columnDefinition = " varchar(50) COMMENT '名称' ")
    private String name;

    @Column(columnDefinition = " varchar(50) COMMENT '备注' ")
    private String remark;

    @Column(columnDefinition = "int DEFAULT 0 COMMENT '摄像头数量'")
    private Integer cameraSize;

    @Column(columnDefinition = " varchar(32) COMMENT '园区id' ")
    private String orgId;

    @Column(columnDefinition = " varchar(32) COMMENT '班级id' ")
    private String classId;

    @Column(columnDefinition = " bit DEFAULT 0 COMMENT '是否公共区域 0：否，1是' ")
    private Boolean isPublic = false;
}
